<template>
  <div id="app">
    <div class="header">
     <h2 class="text-center">企鹅fm仿写</h2>
    </div>
    <div class="cont">
    <keep-alive>
      <router-view></router-view>
    </keep-alive>
    </div>
    <div class="footer"> 
     <h2 class="text-center">由一个小可爱一天粗加工出品</h2>
    </div>
  </div>
</template>

<script>
export default {
  name: 'app',
  components: {
    
  }
}
</script>

<style>
.header,.footer{
  width:100%;height:80px;background:#333;color:#ccc;
}
h2{
  height:30px;line-height:30px;padding:25px 0;
}
</style>
